package com.tgy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

 /**
 * 博客用户表;
 * @author : http://www.chiner.pro
 * @date : 2022-7-14
 */
@Data
@ApiModel(value = "博客用户表",description = "")
@TableName("blog_user")
public class BlogUser implements Serializable,Cloneable{
    /** 主键 */
    @ApiModelProperty(name = "主键",notes = "")
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private String id ;
    /** 昵称 */
    @ApiModelProperty(name = "昵称",notes = "")
    private String nickname ;
    /** 账号 */
    @ApiModelProperty(name = "账号",notes = "")
    private String account ;
    /** 密码 */
    @ApiModelProperty(name = "密码",notes = "")
    private String password ;
    /** 状态【1：启用，0：禁用】 */
    @ApiModelProperty(name = "状态【1：启用，0：禁用】",notes = "")
    private Integer status ;
    /** 注册地址 */
    @ApiModelProperty(name = "注册地址",notes = "")
    private String address ;
    /** 头像 */
    @ApiModelProperty(name = "头像",notes = "")
    private String headPortrait ;
    /** 性别 */
    @ApiModelProperty(name = "性别",notes = "")
    private String sex ;
    /** 注册时间 */
    @ApiModelProperty(name = "注册时间",notes = "")
    private LocalDateTime registrationDate ;
    /** 最后登录时间 */
    @ApiModelProperty(name = "最后登录时间",notes = "")
    private LocalDateTime latelyLoginTime ;
    /** 最后登录IP */
    @ApiModelProperty(name = "最后登录IP",notes = "")
    private String latelyLoginIp ;
    /** 最后登录地址 */
    @ApiModelProperty(name = "最后登录地址",notes = "")
    private String latelyLoginAddress ;
    /** 数字 */
    @ApiModelProperty(name = "数字",notes = "")
    private Integer commentNum ;
    /** 创建人 */
    @ApiModelProperty(name = "创建人",notes = "")
    private String createdBy ;
    /** 创建时间 */
    @ApiModelProperty(name = "创建时间",notes = "")
    private LocalDateTime createdTime ;
    /** 更新人 */
    @ApiModelProperty(name = "更新人",notes = "")
    private String updatedBy ;
    /** 更新时间 */
    @ApiModelProperty(name = "更新时间",notes = "")
    private LocalDateTime updatedTime ;
}